export default [
  {
    path: '/',
    component: '@/layouts/index',
    routes: [
      { path: '/', component: '@/pages/login', title: '登录' },
      {
        path: '/home',
        component: '@/layouts/AdminLayout',
        routes: [
          { path: '/home', component: '@/pages/demo', isMenu: true, title: '测试页面' },
          { path: '*', component: '404' }
        ],
      },
      {
        path: '*',
        component: '404',
      },
    ],
  },
];
